/*
* 入口 js
* */
import React from 'react'
import ReactDOM from 'react-dom'
import 'antd/dist/antd.css'

import App from './App'
import storageUtils from './utils/storage_utils'
import memoryUtils from './utils/memory_utils'

// 读取 localStorage 中保存的 user, 保存到内存中
const user = storageUtils.getUser()
memoryUtils.user = user


// 将 App 组件标签渲染到页面的div上
ReactDOM.render(<App />, document.getElementById('root'))
